package com.borya.filter.auth;

import com.alibaba.fastjson.JSONObject;

/**
 * Token 校验响应体
 */
public class AuthResponse {
    /**
     * 响应消息
     */
    private String msg;
    /**
     * 是否能访问服务
     */
    private boolean access;
    /**
     * 请求体json
     */
    private JSONObject json;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean getAccess() {
        return access;
    }

    public void setAccess(boolean access) {
        this.access = access;
    }

    public JSONObject getJson() {
        return json;
    }

    public void setJson(JSONObject json) {
        this.json = json;
    }

    @Override
    public String toString() {
        return "AuthResponse{" +
                "msg='" + msg + '\'' +
                ", access=" + access +
                '}';
    }
}
